﻿<%@ Page Title="急救药品配送企业12小时未响应" Language="C#" MasterPageFile="~/Master/MasterPage_New.master" AutoEventWireup="true" CodeBehind="CompanyResponse12HourByProcatalog.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Statistics.CompanyResponse12HourByProcatalog" %>  
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ register src="~/Common/AreaControls.ascx" tagname="AreaControl" tagprefix="uc3" %>
    <style type="text/css">
        .style1
        {
            height: 13px;
        }
        .style2
        {
            height: 13px;
            width: 109px;
        }
        .style3
        {
            width: 109px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="search">
  <div class="search_item">
    <table>
      <tr>
        <th> 地 区： </th>
        <td colspan="3"><uc3:AreaControl ID="AreaControl1" runat="server" /></td>
        <th class="style1"> 开始时间： </th>
        <td class="style1"><asp:TextBox ID="txtStratTime" runat="server"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox></td>
        <th class="style1"> 截止时间： </th>
        <td class="style2"><asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"></asp:TextBox></td>
      </tr>
      <tr>
        <th> 流水号： </th>
        <td align="left"><asp:TextBox ID="txtProcureCatalogID" runat="server"></asp:TextBox></td>
        <th> 通用名： </th>
        <td align="left"><asp:TextBox ID="txtProductName" runat="server"></asp:TextBox></td>
        <th> 剂型： </th>
        <td align="left"><asp:TextBox ID="txtMedicineModel" runat="server"></asp:TextBox></td>
        <th> 采购规格： </th>
        <td align="left"><asp:TextBox ID="txtPack" runat="server"></asp:TextBox></td>
        <th> <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
        </th>
      </tr>
      <tr>
        <th> 医院类型： </th>
        <td><asp:DropDownList ID="ddlHosType" runat="server">
          <asp:ListItem Value="0">所有医疗机构</asp:ListItem>
          <asp:ListItem Value="1">二三级医疗机构</asp:ListItem>
          <asp:ListItem Value="2">基层医疗机构</asp:ListItem>
          <asp:ListItem Value="3">社区医疗机构</asp:ListItem>
          <asp:ListItem Value="4">乡镇医疗机构</asp:ListItem>
        </asp:DropDownList></td>
        <th> 是否政府办： </th>
        <td><asp:DropDownList ID="ddlIsGov" runat="server">
          <asp:ListItem Value="">全部基层医疗机构</asp:ListItem>
          <asp:ListItem Value="0">非政府办基层医疗机构</asp:ListItem>
          <asp:ListItem Value="1">政府办基层医疗机构</asp:ListItem>
        </asp:DropDownList></td>
        <th> 排序字段： </th>
        <td align="left"><asp:DropDownList runat="server" ID="ddlSortFields">
          <asp:ListItem Value="ProductName" Text="通用名"></asp:ListItem>
          <asp:ListItem Value="PurchaseCount" Text="采购数量"></asp:ListItem>
          <asp:ListItem Value="ProcurePrice" Text="供应价格"></asp:ListItem>
          <asp:ListItem Value="OrderCount" Text="订单明细数量"></asp:ListItem>
        </asp:DropDownList></td>
        <th> 排序方式： </th>
        <td align="left"><asp:DropDownList runat="server" ID="ddlSort">
          <asp:ListItem Value="DESC" Text="降序"></asp:ListItem>
          <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
        </asp:DropDownList></td>
      </tr>
      <tr>
      <th>
      药品分类：
      </th>
      <td align="left"><asp:DropDownList runat="server" ID="dlpsort"></asp:DropDownList></td>
      </tr>
    </table>
  </div>
</div>
<asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist"
        OnRowCommand="gvwInfo_RowCommand" AllowSorting="True" EmptyDataText="暂无符合条件的数据！">
  <Columns>
  <asp:TemplateField HeaderText="序号">
    <ItemTemplate> <%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%></ItemTemplate>
    <HeaderStyle Width="30px" />
  </asp:TemplateField>
  <asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" ReadOnly="true" />
  <asp:BoundField DataField="ProductName" HeaderText="通用名" ReadOnly="true" />
  <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" ReadOnly="true" />
  <asp:BoundField DataField="Pack" HeaderText="采购规格" />
  <asp:BoundField DataField="Unit" HeaderText="采购单位" />
  <asp:BoundField DataField="ProcurePrice" HeaderText="供应价格" ReadOnly="true" />
  <asp:BoundField DataField="SortName" HeaderText="药品分类" NullDisplayText="无" />
  <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" ReadOnly="true" />
  <asp:BoundField DataField="PurchaseCount" HeaderText="采购数量" ReadOnly="true" />
  <asp:BoundField DataField="OrderCount" HeaderText="订单明细数量" ReadOnly="true" />
  <asp:TemplateField HeaderText="查看企业明细">
    <ItemTemplate>
      <hz:HzLinkButton ID="lbnPro" runat="server" CausesValidation="True" CommandName="lbnPro"
                        CommandArgument='<%#Eval("ProcureCatalogID") %>' Text="明细" />
    </ItemTemplate>
  </asp:TemplateField>
  </Columns>
</asp:GridView>
<div class="page"> <span style="width: 30%; float: left; text-align: left">
  <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
  </span><span style="width: 70%; text-align: right; float: right">
  <webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
                OnPageChanged="AspNetPager_CompanyPS_PageChanged"> </webdiyer:AspNetPager>
</span> </div>
<br />
<div class="listip">
  <ul>
    <li>说明:<span>查询条件中的"开始时间"、"截止时间"以医院提交采购单的时间为准；。</span> </li>
    <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>结果集中的"采购数量"是指医院提交的采购数量，"订单明细数量"是指医院提交的采购单中的明细单数量。</span> </li>
  </ul>
</div>
</asp:Content>
